<div class="add"><a class="zAdd" href="/admin/role_add">添加角色</a></div>
<div class="sub">
	<div class="sub_id_4">序号</div>
	<div  style="width:50%;">角色</div>
	<div  style="width:20%;">权限</div>
	<div class="sub_edit_4" style="width:24%;">操作</div>
</div>
<div class="content">
<?php foreach($role as $key => $value):?>
	<div class="content_list">
		<div class="sub_id_4"><?=$key+2?></div>
		<div style="width:50%;"><?=$value['Role']['role']?></div>
		<div style="width:20%;"><?php if($value['Role']['role']!='超级管理员'):?><a class="zAdd" href="/admin/admin_permissions?id=<?=$value['Role']['id']?>">设置</a><?php endif;?></div>
		<div class="sub_edit_4" style="width:24%;"><?php if($value['Role']['role']!='超级管理员' && $value['Role']['role']!='普通管理员'):?><a class="zChange" href="/admin/role_update?id=<?=$value['Role']['id']?>">修改名称</a>&nbsp;&nbsp;<form method='post' action='/admin/role_manage?id=<?=$value['Role']['id']?>&action=del' class="dataForm"><button type="submit" class="zDelect">删除</button></form><?php endif;?></div>
	</div>
<?php endforeach;?>
</div>



